package mspbots.autotask.data.core.companylocations;

import org.springframework.data.r2dbc.repository.R2dbcRepository;
import reactor.core.publisher.Mono;

public interface CompanyLocationsRepository extends R2dbcRepository<CompanyLocation, Long> {
        /*
         * find entity other id and tenant id
         *
         * @param otherId  other Id
         * @param tenantId tenant id
         * @return account entity
         */
        Mono<CompanyLocation> findByOtherIdAndTenantId(Long otherId, Long tenantId);
}
